package com.homework.module4part3.repository;

import com.homework.module4part3.entity.Resume;
import org.springframework.data.mongodb.repository.MongoRepository;

public interface LagouResumeRepository extends MongoRepository<Resume,String> {

    /**
     * 根据ResumeId查找resume
     * @param resumeid
     * @return
     */
    Resume findByResumeidEquals(Long resumeid);


    /**
     * 删除简历
     * @param resumeid
     */
    void deleteByResumeidEquals(Long resumeid);

}
